package com.xpxrule.dataobject.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @version 1.0
 * @Author xiangpengxiang
 * @Date 2024/11/20 14:21
 * @注释
 */
@Data
@TableName("rule_scenarios")
public class RuleScenarios {
    public static final class COLUMN {
        public static final String ID = "id";
        public static final String SCENARIOS_KEY = "scenarios_key";
        public static final String SCENARIOS_NAME = "scenarios_name";
        public static final String CONDITION_MODEL = "condition_model";
        public static final String RESULT_MODEL = "result_model";
        public static final String DESCRIPTION = "description";
        public static final String IS_DELETED = "is_deleted";
        public static final String IS_ENABLE = "is_enable";
    }
    /**
     * 主键id
     */
    @TableField("id")
    private Long id;
    /**
     * 场景key
     */
    @TableField("scenarios_key")
    private String scenariosKey;
    /**
     * 场景名称
     */
    @TableField("scenarios_name")
    private String scenariosName;
    /**
     * 条件模型
     */
    @TableField("condition_model")
    private String conditionModel;
    /**
     * 结果模型
     */
    @TableField("result_model")
    private String resultModel;
    /**
     * 描述
     */
    @TableField("description")
    private String description;
    /**
     * 是否删除
     */
    @TableField("is_deleted")
    private Date isDeleted;
    /**
     * 是否启用
     */
    @TableField("is_enable")
    private short isEnable;
    /**
     * 创建人
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 更新人
     */
    @TableField("update_user")
    private String updateUser;
    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;
}
